package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 店铺DTO
 * </p>
 *
 * @author LEO
 * @since 2021-2-22
 */
@Data
@ApiModel(value="Shop对象", description="店铺")
public class ShopDTO extends BasicEntity {


    @ApiModelProperty(value = "全局code")
    private String code;

    @ApiModelProperty(value = "所属机构code")
    private String groupCode;

    @ApiModelProperty(value = "店铺编号")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String name;

    @ApiModelProperty(value = "ISV店铺编码")
    private String isvCode;

    @ApiModelProperty(value = "店铺类型")
    private String shopType;

    @ApiModelProperty(value = "销售平台、来源平台编码")
    private String sourcePlatformCode;

    @ApiModelProperty(value = "平台店铺编码、来源平台编码")
    private String platformShopCode;

    @ApiModelProperty(value = "平台店铺名称")
    private String platformShopName;

    @ApiModelProperty(value = "事业部编码、货主编码")
    private String shipmentCode;

    @ApiModelProperty(value = "事业部名称、货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "仓库编码")
    private String warehouseCode;

    @ApiModelProperty(value = "商家编码")
    private String merchantsCode;

    @ApiModelProperty(value = "商家名称")
    private String merchantsName;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "省份")
    @TableField("province")
    private String province;

    @ApiModelProperty(value = "城市")
    @TableField("city")
    private String city;

    @ApiModelProperty(value = "县/区")
    private String county;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "审批人编码")
    private String approvedBy;

    @ApiModelProperty(value = "审批人姓名")
    private String approvedName;

    @ApiModelProperty(value = "审批时间")
    private String gmtApproved;

    @ApiModelProperty(value = "状态 ，0-未审核，1-审核通过，2-审核未通过")
    private String status;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "是否可以删除标识")
    private String deleteFlag;

    @ApiModelProperty(value = "店铺访问地址")
    private String accessAddress;

    @ApiModelProperty(value = "key:调用各个平台的key")
    private String appKey;

    @ApiModelProperty(value = "secret:调用各个平台的secret")
    private String appSecret;
}
